package ooday02homework;

public class Dog extends Animal {
    Dog() {

    }

    Dog(String name, int age, String color) {
        super(name, age, color);
    }

    void lookHome() {
        System.out.println(name + "在看家");
    }

    void eat() {
        System.out.println(name + "小狗在吃东西" + age + "年龄" + color + "颜色");
    }
}
